package com.sacc.service;

import com.power.common.model.CommonResult;
import com.sacc.pojo.Article;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @author 滚~韬
 * @date 2022/4/19 16:55
 */
public interface ArticleService {
    List<Article> GetArticleList(Integer count);
    Article GetArticle(Integer id) throws IOException;
    CommonResult DeleteArticle(Integer id);
    CommonResult AddArticle(Article article, MultipartFile file);
}
